export default {
  namespaced: true,
  state() {
    return {
      login: '',
      detailData: [], //动态路由页面数据
      citys: 1 //城市的切换
    }
  },
  mutations: {
    getLoginData(state, payload) {
      state.login = payload
    },
    changeDetail(state, payload) {
      state.detailData = payload
    },
    changeCity(state, payload) {
      state.citys = payload
    }
  }
}
